package kattas;

import java.util.concurrent.TimeUnit;

public class SimpleMultiplier implements Computable<PairOfNumbers, Integer>{

	public Integer compute(PairOfNumbers args) {
		try {
			TimeUnit.SECONDS.sleep(5);		
			return args.getArg1() * args.getArg2();
		} catch (InterruptedException e) {
			throw new RuntimeException(e);
		}
	}

}
